fdf6f209d3758a8709b15cd05aed1a06315d1627,hdfs/src/main/java/com/ibm/crail/hdfs/CrailHDFS.java,CrailHDFS,getFileBlockLocations,#Path#number#number#,255

Before Change


	@Override
	public BlockLocation[] getFileBlockLocations(Path path, long start, long len) throws AccessControlException, FileNotFoundException, UnresolvedLinkException, IOException {
		try {
			CrailBlockLocation[] _locations = dfs.getBlockLocations(path.toUri().getRawPath(), start, len);
			BlockLocation[] locations = new BlockLocation[_locations.length];
			for (int i = 0; i < locations.length; i++){
				locations[i] = new BlockLocation();

After Change


	@Override
	public BlockLocation[] getFileBlockLocations(Path path, long start, long len) throws AccessControlException, FileNotFoundException, UnresolvedLinkException, IOException {
		try {
			CrailBlockLocation[] _locations = dfs.lookupFile(path.toUri().getRawPath(), false).get().getBlockLocations(start, len);
			BlockLocation[] locations = new BlockLocation[_locations.length];
			for (int i = 0; i < locations.length; i++){
				locations[i] = new BlockLocation();